<?php
function _ctlWordclassfront($name, $attribs)
{
	$cacheId = 'WebControl.DynamicMenu.' . $name;
	if (defined('DEPLOY_MODE') && DEPLOY_MODE) {
	    $lifetime = 900;
	} else {
	    $lifetime = 0;
	}
	$rowset = FLEA::getCache($cacheId, $lifetime);
	if (!$rowset) {

		FLEA::writeCache($cacheId, $rowset);
	}
    $smarty = FLEA::getSingleton(FLEA::getAppInf('view'));
    $smarty->assign('container_name', $name);
    return $smarty->fetch('webcontrols/wordclassfront.html');
}
